package com.mpsc.fbpm.consumer.requestBean.variable;

import lombok.Data;

import java.util.List;

@Data
public class ProcessInstanceCreateRequest {

    //流程定义Id
    protected String processDefinitionId;
    //流程定义Key
    protected String processDefinitionKey;
    //消息
    protected String message;
    //任务id
    protected String name;
    //单据Id
    protected String businessKey;
    //业务单据变量(有分支的情况下必须传)
    protected List<RestVariable> variables;
    //瞬态单据变量
    protected List<RestVariable> transientVariables;
    //租户Id
    protected String tenantId;
    protected String overrideDefinitionTenantId;
    //单据类型
    protected String bizTypeCode;
    //区划
    protected String rgCode;
    // 单位
    protected String unitCode;
    //流程发起人
    protected String userId;
    // 流程发起人Code
    protected String userCode;
    // Added by Ryan Johnston
    private boolean returnVariables;
}
